package com.flowable.Excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName SysExpressionExcel
 * @Description TODO
 * @Author 无名小卒
 * @Date 2023/8/29 19:49
 * @Version 1.0
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class SysExpressionExcel {
    private static final long serialVersionUID = -1616981997913234630L;

    @ColumnWidth(30)
    @ExcelProperty("编号")
    private String id;

    @ColumnWidth(30)
    @ExcelProperty("表达式名称")
    private String name;

    @ColumnWidth(30)
    @ExcelProperty("表达式内容")
    private String expression;

    @ColumnWidth(50)
    @ExcelProperty("状态")
    private Date status;
    /**
     * 创建时间
     */
    @ColumnWidth(50)
    @ExcelProperty("创建时间")
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    private Date createTime;

}
